﻿

namespace SLS.ExClassLib.WFActivities
{
    using System.Activities;
    using SLS.ExClassLib.Data;
    using SLS.ExClassLib.MVVM;
    public sealed class ChooseJob : CodeActivity<ExDataRow>
    { 
        protected override ExDataRow Execute(CodeActivityContext context)
        {
            // Obtain the runtime value of the Text input argument
            var wfmViewModel = context.GetExtension<IDataModel>();

            return wfmViewModel.GetJob();
        }
    } 
}
